Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel: Migrate to bazel 7; use bzlmod for dependencies #293

Closed
wants to merge 21 commits into from

Conversation

keith
Copy link
Member

@keith keith commented Mar 27, 2024

This is based on #284 with a few more minor bzlmod fixes

This depends on bazelbuild/bazel-central-registry#1699

@keith keith requested a review from bergsieker as a code owner March 27, 2024 21:25
MODULE.bazel Outdated
llvm_version = "13.0.0",
)
use_repo(llvm, "llvm_toolchain")
register_toolchains("@llvm_toolchain//:all", dev_dependency = True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this version doesn't support macOS, excluding it just replies on the host having a CC toolchain installed, we could probably bring this back with a different version to support macOS too but I think the norm is normally to expect the host to have something for this

@@ -0,0 +1,29 @@
module(
name = "remoteapis",
Copy link

@mmorel-35 mmorel-35 Jun 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall it be this instead ?

Suggested change
name = "remoteapis",
name = "remote-apis",
repo_name = "bazel_remote_apis",

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i pulled the non-dash version because that's what bazel uses, any precedent for folks using the other one? I didn't need to mirror the repo_name since it's never accessed

@bentekkie
Copy link

bentekkie commented Jul 10, 2024

Any idea when this will be merged? This would improve the reclient MODULE.bazel and make it easier to migrate remote-apis-sdks to bzlmod

@bergsieker
Copy link
Collaborator

I let this sit for far too long, resulting in a second PR for converting to bzlmod (#307). I ended up merging that one instead, simply because it was more recent.

I did like the idea of a sample project from this PR--feel free to rebase and send a PR with just the sample project changes.

@bergsieker bergsieker closed this Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants